PATH 
Mac OS 8 and 9 Developer Documentation > Text and Other International Services > Apple Type Services for Unicode Imaging (ATSUI) > Apple Type Services for Unicode Imaging Reference

     

ATSUStyleIsEmpty

Indicates whether a style object is empty.

OSStatus ATSUStyleIsEmpty (
                     ATSUStyle iStyle,
                     Boolean *oIsClear);
iStyle
A reference of type ATSUStyle. Pass a reference to a valid style object. You cannot pass NULL for this parameter.

oIsClear
A pointer to a value of type Boolean. On return, the value indicates whether the style object contains any previously set style run attribute, font feature, or font variation values. If true, the style object contains only default values. You cannot pass NULL for this parameter.

function result
A result code. See Result Codes.
DISCUSSION
The ATSUStyleIsEmpty function indicates whether a style object contains any previously set style run attribute, font feature, and font variation values. If so, ATSUStyleIsEmpty passes back false in the oIsClear parameter, indicating that it is not an empty style object. the ATSUStyleIsEmpty does not consider reference constants in its evaluation.

VERSION NOTES
Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)